# -*- coding: utf-8 -*-#
#-------------------------------------------------------------------------------
# 建立者:        潘炎珍  
# Name:         demo14
# Description:
# Author:       98745
# Date:         2019/3/11
#-------------------------------------------------------------------------------

from numpy import *
a=array([4,2,1,5])
print(median(a))
b=array([4,2,1])
print(median(b))
prince=loadtxt('data1.csv',delimiter=',',usecols=(6,),unpack=True)
print(prince)
print(median(prince))
print('方差','=',var(prince))